using UnityEngine;

public abstract class GameObjectBase
{
    public GameObject gameObject { get; private set; }
    public Transform transform { get; private set; }

    public void Init(GameObject go, params object[] objects)
    {
        gameObject = go;
        transform = go.transform;
        OnInit(objects);
    }

    protected abstract void OnInit(params object[] objects);

    public abstract void Release();
}
